# -arch i386 compiler flag for sow leopard, mac, eclipse 
CXXFLAGS = -Wall -g -arch i386

OBJECTS = Outlink.o PageRank.o Reprice.o Node.o

all: default

default:	main

main:	main.o $(OBJECTS)
	$(CXX) $(CXXFLAGS) -o $@ $^

clean:
	rm -f main main.o $(OBJECTS) *~

Reprice.o: Reprice.cpp Reprice.h Node.h 
Node.o: Node.cpp Node.h
Outlink.o: Outlink.cpp Outlink.h 
PageRank.o: PageRank.cpp PageRank.h Outlink.h 
main.o: main.cpp PageRank.h  
